package edu.scau.cxq.gp.mapper;

import edu.scau.cxq.gp.entity.InventoryAlert;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.scau.cxq.gp.vo.InventoryAlertVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author CXQ
 * @since 2022-02-13
 */
public interface InventoryAlertMapper extends BaseMapper<InventoryAlert> {

    /**
     * 获取所有库存预警VO
     * @param goodsId
     * @param wareId
     * @return
     */
    List<InventoryAlertVO> selectInventoryAlertVOList(@Param("goodsId") Long goodsId, @Param("wareId") Long wareId);
}
